import request from '@/utils/request'

// 查询列表详细
export function getTable(query) {
  return request({
    url: '/information/t_nscQuery',
    method: 'post',
    data: query,
  })
}
export function getTableTwo(query) {
  return request({
    url: '/information/t_crpQuery',
    method: 'post',
    data: query,
  })
}
export function getTableThree(query) {
  return request({
    url: '/information/t_nsfQuery',
    method: 'post',
    data: query,
  })
}
export function poiDownload(query) {
  return request({
    url: '/poiDownload/t_nscDownload',
    method: 'post',
    responseType: 'blob',
    data: query,
  })
}
export function crpPoiDownload(query) {
  return request({
    url: '/poiDownload/t_crpDownload',
    method: 'post',
    responseType: 'blob',
    data: query,
  })
}
export function nsfPoiDownload(query) {
  return request({
    url: '/poiDownload/t_nsfDownload',
    method: 'post',
    responseType: 'blob',
    data: query,
  })
}
export function getTableFour(query) {
  return request({
    url: '/information/t_orgQuery',
    method: 'post',
    data: query,
  })
}
export function orgPoiDownload(query) {
  return request({
    url: '/poiDownload/t_orgDownload',
    method: 'post',
    responseType: 'blob',
    data: query,
  })
}

